﻿namespace Sidvall.Devices
{
    public class Geopoint
    {
        /// <summary>
        /// The altitude reference system of the geographic point.
        /// </summary>
        public AltitudeReferenceSystem AltitudeReferenceSystem { get; set; }
        /// <summary>
        /// The type of geographic shape.
        /// </summary>
        public GeoshapeType GeoshapeType { get; set; }
        /// <summary>
        /// The altitude of the geographic position in meters.
        /// </summary>
        public double Altitude { get; set; }
        /// <summary>
        /// The latitude of the geographic position. The valid range of latitude values is from -90.0 to 90.0 degrees.
        /// </summary>
        public double Latitude { get; set; }
        /// <summary>
        /// The longitude of the geographic position. This can be any value. For values less
        /// than or equal to-180.0 or values greater than 180.0, the value may be wrapped
        /// and stored appropriately before it is used. For example, a longitude of 183.0
        /// degrees would become -177.0 degrees.
        /// </summary>
        public double Longitude { get; set; }
        /// <summary>
        /// The spatial reference id (SRID) corresponds to a spatial reference system based on the specific ellipsoid used 
        /// for either flat-earth mapping or round-earth mapping. Spatial instances with the same SRID can be used when 
        /// performing operations with spatial data methods on your data. The result of any spatial method derived from 
        /// two spatial data instances is valid only if those instances have the same SRID that is based on the same unit 
        /// of measurement, datum, and projection used to determine the coordinates of the instances. The most common units 
        /// of measurement of a SRID are meters or square meters. The default SRID for the Windows platform is 4326 which 
        /// is WGS84 ellipsoid.
        /// 
        /// The spatial reference identification system is defined by the European Petroleum Survey Group(EPSG) standard, 
        /// which is a set of standards developed for cartography, surveying, and geodetic data storage.This standard is 
        /// owned by the Oil and Gas Producers (OGP) Surveying and Positioning Committee.
        /// </summary>
        public uint SpatialReferenceId { get; set; }
    }
}
